package com.singzi.leetcode.N1200;

import java.util.ArrayList;
import java.util.List;

public class T1108 {
    public static void main(String[] args) {
        Solution1108 solution1108 = new Solution1108();
        System.out.println(solution1108.defangIPaddr("1.1.1.1"));
    }
}
class Solution1108 {
    List<List<Integer>> ans;
    public String defangIPaddr(String address) {
        return address.replace(".", "[.]");

    }
    public void backTrace(int[]nums, int index, List<Integer> temp){
        ans.add(new ArrayList<>(temp));
    }
}